package com.cy.law.vo;

import com.cy.law.utils.XStreamDoubleConverter;
import com.cy.law.utils.XStreamIntConverter;
import com.thoughtworks.xstream.annotations.XStreamAlias;
import com.thoughtworks.xstream.annotations.XStreamConverter;
import lombok.ToString;

@XStreamAlias("Params")
@ToString
public class GpsVO {
    //<!--设备编号 -->
//<DeviceID>test0123</DeviceID>
    @XStreamAlias("DeviceID")
    private String deviceId;
    //<!--设备名称 -->
//<DeviceName></DeviceName>
    @XStreamAlias("DeviceName")
    private String deviceName;
    //<!--设备类型，DB:单兵;CZ:车载 -->
//<DeviceType>CZ</DeviceType>
    @XStreamAlias("DeviceType")
    private String deviceType;
    //<!--剩余电量 -->
//<BatteryRemaining></ BatteryRemaining>
    @XStreamAlias("BatteryRemaining")
    private String batteryRemaining;
    //<!-- GPS 采样时间，注意时区，采用本地时间-->
//<Time>2009-02-24 16:59:00</Time>
    @XStreamAlias("Time")
    private String time;
    //<!--E:东半球;W:西半球-->
//<DivisionEW>E</DivisionEW>
    @XStreamAlias("DivisionEW")
    private String divisionEw;
    //<!--经度-->
//<Longitude>130.345</Longitude>
    @XStreamAlias("Longitude")
    @XStreamConverter(value = XStreamDoubleConverter.class)
    private Double longitude;
    //<!--N:北半球;S:南半球-->
//<DivisionNS>N</DivisionNS>
    @XStreamAlias("DivisionNS")
    private String divisionNs;
    //<!--纬度-->
//<Latitude>28.650</Latitude>
    @XStreamAlias("Latitude")
    @XStreamConverter(value = XStreamDoubleConverter.class)
    private Double latitude;
    //<!--车辆方向(以度为单位，正北方向为 0，顺时针方向计算)-->
//<Direction>28</Direction>
    @XStreamAlias("Direction")
    @XStreamConverter(value = XStreamDoubleConverter.class)
    private Double direction;
    //<!--速度:米/小时-->
//<Speed>12.399</Speed>
    @XStreamAlias("Speed")
    @XStreamConverter(value = XStreamDoubleConverter.class)
    private Double speed;
    //<!--卫星数量:个-->
//<Satellites>12</Satellites>
    @XStreamAlias("Satellites")
    private Integer satellites;
    //<!--精度因子:原始值*100-->
//<Precision>3</Precision>
    @XStreamAlias("Precision")
    @XStreamConverter(value = XStreamDoubleConverter.class)
    private Double precision;
    //<!--高度:厘米-->
//<Height></Height>
    @XStreamAlias("Height")
    @XStreamConverter(value = XStreamDoubleConverter.class)
    private Double height;
    //<!--重传标记:0-本条 GPS 为实时包;1-本条 GPS 为重传包 -->
//<RetransFlag>0</RetransFlag>
    @XStreamAlias("RetransFlag")
    @XStreamConverter(value = XStreamIntConverter.class)
    private Integer retransFlag;
    //<!--NeedsResponse:回应标记，0:不需回应包，1:需回应包 -->
//<NeedsResponse>0</NeedsResponse>
    @XStreamAlias("NeedsResponse")
    @XStreamConverter(value = XStreamIntConverter.class)
    private Integer needsResponse;
    //<!--Remark:保留节点-->
//<Remark></Remark>
    @XStreamAlias("Remark")
    private String remark;
    //<!--海康无人机保留字段，可忽略-->
//<PitchAngle></PitchAngle>
    @XStreamAlias("PitchAngle")
    private String pitchAngle;
    //    <RelativeHeight></RelativeHeight>
    @XStreamAlias("RelativeHeight")
    private String relativeHeight;
    //    <RollAngle></RollAngle>
    @XStreamAlias("RollAngle")
    private String rollAngle;
    //    <VerticalSpeed></VerticalSpeed>
    @XStreamAlias("VerticalSpeed")
    private String verticalSpeed;
    //    <YawAngle></YawAngle>
    @XStreamAlias("YawAngle")
    private String yawAngle;

    public String getDeviceId() {
        return deviceId;
    }

    public void setDeviceId(String deviceId) {
        this.deviceId = deviceId;
    }

    public String getDeviceName() {
        return deviceName;
    }

    public void setDeviceName(String deviceName) {
        this.deviceName = deviceName;
    }

    public String getDeviceType() {
        return deviceType;
    }

    public void setDeviceType(String deviceType) {
        this.deviceType = deviceType;
    }

    public String getBatteryRemaining() {
        return batteryRemaining;
    }

    public void setBatteryRemaining(String batteryRemaining) {
        this.batteryRemaining = batteryRemaining;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public Double getLongitude() {
        return longitude;
    }

    public void setLongitude(Double longitude) {
        this.longitude = longitude;
    }

    public String getDivisionEw() {
        return divisionEw;
    }

    public void setDivisionEw(String divisionEw) {
        this.divisionEw = divisionEw;
    }

    public String getDivisionNs() {
        return divisionNs;
    }

    public void setDivisionNs(String divisionNs) {
        this.divisionNs = divisionNs;
    }

    public Double getLatitude() {
        return latitude;
    }

    public void setLatitude(Double latitude) {
        this.latitude = latitude;
    }

    public Double getDirection() {
        return direction;
    }

    public void setDirection(Double direction) {
        this.direction = direction;
    }

    public Double getSpeed() {
        return speed;
    }

    public void setSpeed(Double speed) {
        this.speed = speed;
    }

    public Integer getSatellites() {
        return satellites;
    }

    public void setSatellites(Integer satellites) {
        this.satellites = satellites;
    }

    public Double getPrecision() {
        return precision;
    }

    public void setPrecision(Double precision) {
        this.precision = precision;
    }

    public Double getHeight() {
        return height;
    }

    public void setHeight(Double height) {
        this.height = height;
    }

    public Integer getRetransFlag() {
        return retransFlag;
    }

    public void setRetransFlag(Integer retransFlag) {
        this.retransFlag = retransFlag;
    }

    public Integer getNeedsResponse() {
        return needsResponse;
    }

    public void setNeedsResponse(Integer needsResponse) {
        this.needsResponse = needsResponse;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getPitchAngle() {
        return pitchAngle;
    }

    public void setPitchAngle(String pitchAngle) {
        this.pitchAngle = pitchAngle;
    }

    public String getRelativeHeight() {
        return relativeHeight;
    }

    public void setRelativeHeight(String relativeHeight) {
        this.relativeHeight = relativeHeight;
    }

    public String getRollAngle() {
        return rollAngle;
    }

    public void setRollAngle(String rollAngle) {
        this.rollAngle = rollAngle;
    }

    public String getVerticalSpeed() {
        return verticalSpeed;
    }

    public void setVerticalSpeed(String verticalSpeed) {
        this.verticalSpeed = verticalSpeed;
    }

    public String getYawAngle() {
        return yawAngle;
    }

    public void setYawAngle(String yawAngle) {
        this.yawAngle = yawAngle;
    }
}
